package com.empire.module.sporttery.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;
import org.apache.commons.lang3.StringUtils;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

/**
 * 赔率
 *
 * @author xgd
 * @since 2025-10-05
 */
@Data
@Accessors(chain = true)
public class OddsVO implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    public OddsVO(){

    }
    public OddsVO(Double v,Integer x,Integer pei){
        this.v=v;
        this.x=x;
        this.pei=pei;
    }
    /**
     * 赔率值
     */
    @Schema(description = "赔率值", format = "##.##")
    private Double v;
    /**
     *  默认不选择
     */
    @Schema(description = "是否选择投注", defaultValue = "0")
    private Integer x;

    /**
     *  赔序，一赔，二赔，三陪
     */
    @Schema(description = "赔序", defaultValue = "1",example = "一赔，二赔，三陪")
    private Integer pei;

}
